package com.jmt.goods.po;

import java.util.Date;

import com.jmt.user.po.User;

/**
 * @author Administrator
 *
 */
/**
 * @author Administrator
 *
 */
public class GoodsType {
	
	private int typeId;
	private String typeName;
	private String typeDesc;
	private boolean isLeaf;
	private int parentId;
	private int typeLevel ;
	private int createrId;
	private Date createDate;
	private int updaterId;
	private Date updateDate;
	
	public GoodsType() {
	}
	
	public GoodsType(int typeId, String typeName, String typeDesc,
			boolean isLeaf, int parentId, int typeLevel, int createrId,
			Date createDate, int updaterId, Date updateDate) {
		super();
		this.typeId = typeId;
		this.typeName = typeName;
		this.typeDesc = typeDesc;
		this.isLeaf = isLeaf;
		this.parentId = parentId;
		this.typeLevel = typeLevel;
		this.createrId = createrId;
		this.createDate = createDate;
		this.updaterId = updaterId;
		this.updateDate = updateDate;
	}

	public int getTypeId() {
		return typeId;
	}


	public void setTypeId(int typeId) {
		this.typeId = typeId;
	}


	public String getTypeName() {
		return typeName;
	}
	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}
	public String getTypeDesc() {
		return typeDesc;
	}
	public void setTypeDesc(String typeDesc) {
		this.typeDesc = typeDesc;
	}
	public boolean isLeaf() {
		return isLeaf;
	}
	public void setLeaf(boolean isLeaf) {
		this.isLeaf = isLeaf;
	}
	
	public int getParentId() {
		return parentId;
	}

	public void setParentId(int parentId) {
		this.parentId = parentId;
	}

	public int getTypeLevel() {
		return typeLevel;
	}
	public void setTypeLevel(int typeLevel) {
		this.typeLevel = typeLevel;
	}
	
	public int getCreaterId() {
		return createrId;
	}

	public void setCreaterId(int createrId) {
		this.createrId = createrId;
	}

	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public int getUpdaterId() {
		return updaterId;
	}

	public void setUpdaterId(int updaterId) {
		this.updaterId = updaterId;
	}

	public Date getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

	@Override
	public String toString() {
		return "GoodsType [typeId=" + typeId + ", typeName=" + typeName
				+ ", typeDesc=" + typeDesc + ", isLeaf=" + isLeaf
				+ ", parentId=" + parentId + ", typeLevel=" + typeLevel
				+ ", createrId=" + createrId + ", createDate=" + createDate
				+ ", updaterId=" + updaterId + ", updateDate=" + updateDate
				+ "]";
	}
	
}
